package com.itheima.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.fastjson.JSON;
import com.itheima.entity.OrderInfo;
import com.itheima.entity.Result;
import com.itheima.pojo.Order;
import com.itheima.service.MiaoService;
import com.itheima.service.OrderHandler;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import redis.clients.jedis.Jedis;

import javax.annotation.Resource;
import java.security.SecureRandom;
import java.util.Date;
import java.util.HashMap;
import java.util.Random;
@RestController
@RequestMapping("miao")
public class MiaoController {

    @Reference(version = "1.0.0")
    private MiaoService miaoService;


    //订单提交
    @PostMapping("/submitOrder")
    public Result submitOrder() {
        
        return Result.success(null);
    }
}
